<template>
  <div class="sample">
    <div class="sample-wrap">
      <div class="header">
        <h3>甄选家</h3>
        <span>我们在寻找，对生活有态度的你</span>
      </div>
      <div class="body" v-if="sampleList.length">
        <div class="sample-left">
          <img :src="sampleList[0].picUrl" alt="" />
        </div>
        <div class="sample-right">
          <img :src="sampleList[1].picUrl" alt="" />
          <img :src="sampleList[2].picUrl" alt="" />
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: 'Sample',
  props: ['sampleList'],
  data() {
    return {}
  },
}
</script>

<style lang="less" scoped>
.sample {
  width: 100%;
  // border: 1px solid green;
  padding-bottom: 80px;
  .sample-wrap {
    width: 1090px;
    margin: 0 auto;
    // border: 1px solid pink;
  }
}
.header {
  margin-top: 30px;
  padding-bottom: 20px;
  display: flex;
  align-items: flex-end;
  h3 {
    font-size: 28px;
    margin-right: 20px;
  }
  span {
    font-size: 14px;
    padding-bottom: 3px;
  }
}
.body {
  height: 380px;
  display: flex;
  justify-content: space-between;
  .sample-left {
    width: 690px;
    height: 380px;
    img {
      width: 100%;
      height: 100%;
    }
  }
  .sample-right {
    width: 390px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    img {
      width: 390px;
      height: 185px;
    }
  }
}
</style>
